package at.jku.novellbedsidedevice.datasource.calendar;

import java.util.Date;

import at.jku.novellbedsidedevice.datasource.AbstractDataObject;

public class CalendarDataObject extends AbstractDataObject {

	private String title;

	public CalendarDataObject(String title, Date date) {
		super(date);
		this.title = title;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	@SuppressWarnings("deprecation")
	@Override
	public String toString() {
		return title + "|" + getDate().toLocaleString();
	}
}
